package com.feemanage.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.common.api.BusinessApi;
import com.common.core.page.PageDomain;
import com.feemanage.domain.bo.BizCwIncomeClaimAllBo;
import com.feemanage.domain.bo.BizCwIncomeClaimBo;
import com.feemanage.domain.vo.BizCwIncomeClaimVo;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.HashMap;
import java.util.List;

public interface IcWIncomeClaimService extends BusinessApi {

    /**
     * 查询列表
     * @param pageDomain
     * @param claim
     * @return
     */
    IPage<BizCwIncomeClaimVo> selectList(PageDomain pageDomain, BizCwIncomeClaimBo claim);

    /**
     * 新增
     * @param claim
     * @return
     */
    String addCwIncomeclaim(BizCwIncomeClaimAllBo claim);

    /**
     * 编辑
     * @param claim
     * @return
     */
    String editCwIncomeclaim(BizCwIncomeClaimAllBo claim);

    /**
     * 删除
     * @param ids
     * @param isValid
     * @return
     */
    Boolean delCwIncomeclaim(Collection<String> ids, Boolean isValid);

    /**
     * 导出
     * @param claim
     * @return
     */
    List<BizCwIncomeClaimVo> selectExportList(PageDomain pageDomain,BizCwIncomeClaimBo claim);

    /**
     * 统计表头数据
     * @param claim
     * @return
     */
    List<HashMap<String, Integer>> selectListTotal(BizCwIncomeClaimBo claim);
}
